NDepend.API Documentation
CompileMany(IEnumerable<IQuery>,ICodeBase) Method
NDepend.CodeQuery Namespace > ExtensionMethodsQuery Class > CompileMany Method : CompileMany(IEnumerable<IQuery>,ICodeBase) Method
This collection of code queries.
The code base against which to compile each query.
Compile against a code base, several code queries.
Syntax

Parameters

queries
This collection of code queries.
codeBase
The code base against which to compile each query.

Return Value

A dictionary where keys are IQuery objects, and values are IQueryCompiled objects.
Remarks
The codeBase is needed because a code query might reference some code elements by name.
To compile N CQLinq queries, calling once CompileMany() is much faster than calling N times Compile().
Requirements

Target Platforms: Windows 11, 10, 8, 7 and Linux, MacOS with net8.0, net7.0 or net6.0 installed

See Also

Reference

ExtensionMethodsQuery Class
ExtensionMethodsQuery Members
Overload List